package com.yun.pojo.db;


/*医生表*/
public class Doctor {
    private Integer did;
    private String dName;
    private Integer dAge;
    private Integer dSex;//0 女，1 男
    private Sickroom sickroom;
    private Integer serviceTime;
    private String describe;


    public Doctor() {
    }

    public Doctor(Integer did, String dName, Integer dAge, Integer dSex, Sickroom sickroom, Integer serviceTime, String describe) {
        this.did = did;
        this.dName = dName;
        this.dAge = dAge;
        this.dSex = dSex;
        this.sickroom = sickroom;
        this.serviceTime = serviceTime;
        this.describe = describe;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public Integer getdAge() {
        return dAge;
    }

    public void setdAge(Integer dAge) {
        this.dAge = dAge;
    }

    public Integer getdSex() {
        return dSex;
    }

    public void setdSex(Integer dSex) {
        this.dSex = dSex;
    }

    public Sickroom getSickroom() {
        return sickroom;
    }

    public void setSickroom(Sickroom sickroom) {
        this.sickroom = sickroom;
    }

    public Integer getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(Integer serviceTime) {
        this.serviceTime = serviceTime;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    @Override
    public String toString() {
        return "Doctor{" +
                "did=" + did +
                ", dName='" + dName + '\'' +
                ", dAge=" + dAge +
                ", dSex=" + dSex +
                ", sickroom=" + sickroom +
                ", serviceTime=" + serviceTime +
                ", describe='" + describe + '\'' +
                '}';
    }
}
